Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Roman 3 posts 33 karma points
    Jan 31, 2014 @ 10:31
    Roman
    0

    How to combine recurring payment and single payment in one order [dibs]?

    Hi guys!

    I stuck with next problem:

    On my website I have online shop, there I can buy products of 2 types: virtual(subscription) and physical(shoes etc).

    User should have a possibility to buy combined bundle of vritual + physical products.

    The issue is: 1) that virtual products doesn't have a shippment, and physical does. so subscription should be assigned to user immediatley after purchase (order status completed), but physical product price should be acquired after completing shipment(order status pending and then completed)

    2) virtual products (subscriptions) should be recurring, physical doesn't

    As payment provider, I'm using dibs payment window, so I can perform recurring payments(only for subscriptions) or single payments(only for physical), but can't for both.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Feb 03, 2014 @ 10:28
    Søren Spelling Lund
    0

    Hi Roman,

    This is more a matter of whether DIBS supports this. By default our providers assume either a recurring payment plan or a standard payment, not both at the same time so you will have to code a bit to accommodate this scenario. Before doing so however you'll want to check up and see if DIBS will support this at all.

    I know other services like PayPal will so it's not unreasonable to expect DIBS to do so.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Feb 03, 2014 @ 12:06
    Søren Spelling Lund
    100

    To clarify: DIBS specifically requires you to do an initial  "ticket" authorization, which you can then do further captures on (these are your actual transactions on the credit card).

    DIBS enables you to do multiple transaction per auth ticket and thus you can easily split up the capture process into multiple transaction: One for the digital part and one for the physical part shipped later.

    DIBS will not automatically do recurring payments on their end but rather relies on you to do the continued capture every month, year, or whatever recurring interval you're using so you'll need a way on the uCommerce end to figure out which payments should recur.

    I'd tie this to order status + payment status and have a little batch job that finds "active orders" (maybe do a new order status for this) and payments on thos orders which are "Authorized" from there I would create a new payment for each new capture with the amount from the "Authorized" payment and the transactionid (this would be the ticket id you get back upon initial ticket auth) copied to the new payment and then run capture on the newly created payments.

    Hope this helps.

Please Sign in or register to post replies

Write your reply to:

Draft